package edu.sctu.practice.class02.shilaihong.text.text21;

/**
 * Created by admin on 2015/11/10.
 */
public class interfaceDemo {

    public static void main(String[] args) {
         Bike m=new Bike();
        System.out.println("Bike————\n"+m.start(false)+"\n"+m.stop(true));

        Bus n=new Bus();
        System.out.println("Bus————\n"+n.start(true)+"\n"+n.stop(false));
    }
}
